#pragma once

union FILETIMEIntHack {
    FILETIME m_oFileTime;
    unsigned __int64 m_nTime;
};

void FileTimeToLocalSystemTime(const FILETIME *lpFileTime, LPSYSTEMTIME lpSystemTime);
CString FormatFileTime(const FILETIME *lpFileTime);

bool GetImageVersion(TCHAR *pImagePath, DWORD *p1stVer, DWORD *p2ndVer, DWORD *p3rdVer, DWORD *p4thVer);
bool GetImageTime(TCHAR *pImagePath, SYSTEMTIME *pCreateTime, SYSTEMTIME *pModifyTime, SYSTEMTIME *pAccessTime);